package com.beone.smart.smartBeauty.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by bruce on 20/2/16 -- 15:52
 */
@ApiModel(value = "美容设备")
@Data
public class RecommendCreateForm {
    @ApiModelProperty(value = "标题")
    @NotBlank
    private String title;
    //展示的banner图片
    private String imgUrl;
    //内容
    @NotBlank
    private String content;
    /**
     * 推荐的类型
     * 0-减肥
     * 1-补水
     * 2-美肤
     * 3-祛痘
     */
    @NotNull
    private int type;
}
